﻿using Ewell.Interface.Common.Model.Constant;
using Ewell.Interface.Common.Model.GateWay.Dto.In;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ewell.Interface.Common.Model.GateWay.GateWayUriInfo
{
    public class PatientManageInDubboService : GateWayUri
    {
        public override string url => "dubbo/cc.ewell.his.in.service.inter.dubbo.PatientManageInDubboService";
        public GateWayMethod queryPatientAdmissionRegisterInfo => new QueryPatientAdmissionRegisterInfo(url);
    }

    public class QueryPatientAdmissionRegisterInfo : GateWayMethod
    {
        public QueryPatientAdmissionRegisterInfo(string baseUrl) : base(baseUrl)
        {
        }
        public override string methodName => "queryPatientAdmissionRegisterInfo";

        public override string paramClass => "co.faao.plugin.transmission.request.MessageHeader";

        public override DubboParamType paramType => DubboParamType.messageheader;

        public override Type requestParamType => typeof(PatientAdmissionRegisterReq);

        public override Type responseParamType => typeof(PatientAdmissionRegisterResp);
    }
}
